﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Kopytko.BoardGame;
using Kopytko.GameBase;
using System.Windows.Controls;

namespace Kopytko.Games.Checkers
{
    public class Checkers : Kopytko.GameBase.GameBase
    {
        const string name = "Warcaby";
        

        public override string Name
        {
            get { return name; }
        }

        public override Version Version
        {
            get
            {
                return Assembly.GetExecutingAssembly().GetName().Version;
            }
        }

        public override void Run(ContentControl parent, PlayerType playerType)
        {
            parent.Content = new Board(new CheckersLogic());
        }
    }
}
